﻿Public Class NhanVienBUS
    Public Function GetNhanVien() As DataTable
        Dim nv As New NhanVienDAO
        Return nv.GetNhanVien()
    End Function
    Public Sub AddNhanVien(ByVal newNV As NhanVienDTO)
        Dim nv As New NhanVienDAO
        nv.AddNhanVien(newNV)
    End Sub
    Public Sub DelNhanVien(ByVal delNV As NhanVienDTO)
        Dim nv As New NhanVienDAO
        nv.DelNhanVien(delNV)
    End Sub
    Public Sub UpdateNhanVien(ByVal newNV As NhanVienDTO)
        Dim nv As New NhanVienDAO
        nv.UpdateNhanVien(newNV)
    End Sub
    Public Shared Function Get_DSNV()
        Dim nv As New NhanVienDAO
        Dim dt As DataTable
        dt = New DataTable()
        dt = nv.GetNhanVien()
        Return dt
    End Function
End Class
